<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="/css/app/projectDetails.css"/>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-2.1.1.js"></script>
<style type="text/css">

    .form-span {
        font-size: 14px;
        text-align: center;
    }
</style>
<body>
<div class="main-up">
    <input id="projectId" type="hidden" value="${projectDetails.id}"/>
    <input id="dataUrl" type="hidden" value="${dataUrl}"/>
    <div class="main-up-column">
        <div class="form-group-div">
            <label class="control-label">工程名称 </label>
            <span id="projectName">${projectDetails.caption!''}</span>
        </div>
        <div class="form-group-div">
            <label class="control-label">工程类型</label>
            <span>${projectDetails.proTypeName!''}</span>
        </div>
        <div class="form-group-div">
            <label class="control-label">工程开工时间 </label>
            <span><#if projectDetails.stime??>${projectDetails.stime?string('yyyy-MM-dd hh:mm:ss')}</#if></span>
        </div>
        <div class="form-group-div">
            <label class="control-label">工程审核时间</label>
            <span><#if projectDetails.checkTime??>${projectDetails.checkTime?string('yyyy-MM-dd hh:mm:ss')}</#if></span>
        </div>
        <div class="form-group-div">
            <label class="control-label">工程开工人 </label>
            <span>${projectDetails.createrName!""}</span>
        </div>
        <div class="form-group-div">
            <label class="control-label">工程审核人</label>
            <span>${projectDetails.checkerName!""}</span>
        </div>

    </div>
</div>
<div class="main-down">

    <div class="main-down-column">
        <div class="main-down-top">

            <div class="down-head">建设方
                <div id="constructionName"><#--(${projectDetails.constructionName!"空"})--></div>
            </div>
            <div class="down-head">监理方
                <div  id="supervisorName"><#--(${projectDetails.supervisorName!"空"})--></div>
            </div>
            <div class="down-head">施工方
                <div id="contractorName"><#--(${projectDetails.contractorName!"空"})--></div>
            </div>


        </div>
        <div class="main-down-down">
        <div class="main-down-column" id="constructionPostPerson">
       <#-- <#if projectDetails.constructionPostList??>
            <#list projectDetails.constructionPostList as postDetails>
                <div class="label-group-div">
                    <label class="control-label"> ${postDetails.postNam!""}</label>
                    <span>
                        <#list postDetails.personNames as personName>
                        ${personName!""},
                        </#list>
                    </span>
                </div>
            </#list>
        </#if>-->
        </div>
        <div class="main-down-column"  id="supervisorPostPerson">

       <#-- <#if projectDetails.supervisorPostList??>
            <#list projectDetails.supervisorPostList as postDetails>
                <div class="label-group-div">
                    <label class="control-label"> ${postDetails.postNam!""}</label>
                    <span>
                        <#list postDetails.personNames as personName>
                        ${personName!""},
                        </#list>
                    </span>
                </div>
            </#list>
        </#if>-->
        </div>
        <div class="main-down-column" id="contractorPostPerson">

      <#--  <#if projectDetails.contractorPostList??>
            <#list projectDetails.contractorPostList as postDetails>
                <div class="label-group-div">
                    <label class="control-label">${postDetails.postNam!""}</label>
                    <span>
                        <#list postDetails.personNames as personName>
                        ${personName!""},
                        </#list>
                    </span>
                </div>
            </#list>
        </#if>-->
        </div>
        </div>
    </div>
</div>

</body>
<script type="text/javascript" src="${ctx}/js/home/details.js"></script>
<script type="text/javascript">
    <#--new page({pageMain:"pagination",nowPage:${page!'1'},count:${count},pageSize:${pageSize!'10'},-->
    <#--url:"/admin/user",params:"?pageSize=${pageSize}&query=${query}",pakey:"page"});-->
    $(function () {
        var caption = "${projectDetails.caption}";
        if (caption.length > 11) {
            $("#projectName").addClass("form-span");
        }
    })
</script>

</html>
